package router

import (
	"github.com/gin-gonic/gin"
	"message/api/handler"
)

func Router(r *gin.Engine) {
	r.POST("register", handler.Register)
	r.GET("userList", handler.List)
	r.GET("list", handler.Announcement)
	r.POST("ping", handler.Shop)
}
